package cb.wzby;

import java.util.ArrayList;
import java.util.List;

public class ListDemo {
    public static void main(String[] args) {
        List<Integer> l = new ArrayList<>(List.of(1,30,23,21,22,25,36,34,66,21,13,40,42));
        l.removeIf(integer -> integer%2 == 0);
        //求质数集合
        System.out.println(l);
    }
}
